package cn.fu.ssh.service;

import java.io.File;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

import org.activiti.engine.form.TaskFormData;
import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.ProcessDefinition;
import org.activiti.engine.task.Comment;
import org.activiti.engine.task.Task;

import cn.fu.ssh.web.form.WorkflowBean;



public interface IWorkflowService {

	List<Deployment> findDeploymentList();

	List<ProcessDefinition> findProcessDefinitionList();

	void saveDeployment(String filename, File file);

	void deleteDeploymentByID(String deploymentId);

	InputStream findInputStreamByImageNameAndDeploymentId(String imageName,
			String deploymentId);

	void saveStartProcessInstance(Long id);

	List<Task> findTasklistByUser(String name);

	TaskFormData findTaskFormData(String taskId);

	String findObjIdByTaskId(String taskId);

	List<String> findOutcomeNameListByTaskId(String taskId);

	void saveSubmitTask(WorkflowBean workflowBean);

	List<Comment> findCommentListByTaskId(String taskId);

	ProcessDefinition findProcessDefinitionByTaskId(String taskId);

	Map<String, Object> findCoordingByTaskId(String taskId);

	List<Comment> findCommentListById(Long id);

	

}
